import request from '@/config/axios'
const baseUrl = 'http://localhost:3000/dev-api/'

// 获取学院列表
export const fetchGetCollegeList = () => {
  return request.get({ url: `${baseUrl}colleges/list` })
}

// 获取专业列表
export const fetchGetMajorList = () => {
  return request.get({ url: `${baseUrl}majors/list` })
}

// 获取年级列表
export const fetchGetGradeList = () => {
  return request.get({ url: `${baseUrl}grades/list` })
}

// 获取社团类型列表
export const fetchGetSocietyTypeList = () => {
  return request.get({ url: `${baseUrl}societyTypes/list` })
}